<?php namespace Zmsun\Copen;use Zmsun\Service\FileSpace as MFileSpace;class FileSpace extends MFileSpace{const DIR_ADMIN='o/n/';public function getFile($folderPath=null,$extensions=null,$includeChildren=false,$filePrefix=null){if(!($files=parent::getFile($folderPath,$extensions,$includeChildren))||!$filePrefix)return$files;$fLen=strlen($filePrefix);return array_filter($files,function($item)use($filePrefix,$fLen){return !strncasecmp(basename($item['url']),$filePrefix,$fLen);});}}?>